import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:hook_rent/pages/home/index.dart';
import 'package:hook_rent/pages/login.dart';
import 'package:hook_rent/pages/register.dart';
import 'package:hook_rent/pages/room_detail/index.dart';

class Routes {
  static const HOME = '/home';
  static const LOGIN = '/login';
  static const REGISTER = '/register';
  static const ROOMDETAIL = '/room_detail';

  static final routes = [
    GetPage(
      name: HOME,
      page: () => const HomePage(),
    ),
    GetPage(
      name: LOGIN,
      page: () => const LoginPage(),
    ),
    GetPage(
      name: REGISTER,
      page: () => const RegisterPage(),
    ),
    GetPage(
      name: ROOMDETAIL,
      page: () => RoomDetailPage(),
    ),
  ];
}
